Click here to Skip to main content
15,888,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am having a table fields FirstName, Spouse Name, DateOfBirth, SpouseDateOfBirth and anniversary date. I want to create a form having two grid and two spinners buttons. From spinner buttons I want to select days I mean 1 to 3 days. When I change the value of buttons both grids one for birthdays and second for anniversary had to be updated. If in any case spouse name is not entered I want to pick firstname with addition of '*'. Spouse A is first name B is his spouse, spouse name not mentioned but on selected date there is not birthday of A but due to un presence of spouse name grid had to be show A** like this. If possible plz guide me to insert the grid data into table so that I can create reports.

Thanks a lot in advance. Hoping for an earlier favour.
Posted
Comments
Kschuler 22-Jan-13 11:45am    
What have you tried? Post the code you have so far and maybe someone can help see why it isn't working (VB6 is pretty much a dead language, but you never know). If you don't even know where to start, try google for some basic articles to help you.
gauravg1909 23-Jan-13 0:55am    
Is it possible to refresh datagrid using select command and values passing through spinners button? If yes then how. plz
Kschuler 23-Jan-13 9:16am    
I personally have no idea. I was just trying to help you ask your question differently because it is very hard for someone else to help you when they don't have anything specific to go on. There are a million ways to code any one issue and they can't help you find the BEST way without seeing what you've done so far.
gauravg1909 26-Jan-13 0:29am    
Can you tell me how to get data from a table for a specific date into data grid
Kschuler 28-Jan-13 9:26am    
I'm not familiar with VB6 anymore, but with VB.net I'd use the DataTable.Filter method. Or I a DataView object. You could try researching those.

1 solution

Read this: http://www.dreamincode.net/forums/topic/24677-connecting-to-a-sql-server-database-using-adodb/[^] and try to do what you need.

To build connectionstring to ms access database, see this: http://www.connectionstrings.com/access[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900