Click here to Skip to main content
Sign Up to vote bad
good
See more: SQLAccessDataGrid
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 22-Jan-13 0:32am

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[^]
  Permalink  

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Christian Graus 578
1 Ron Beyer 326
2 Tadit Dash 253
3 samadhan_kshirsagar 229
4 OriginalGriff 198
0 Sergey Alexandrovich Kryukov 7,041
1 Prasad_Kulkarni 3,815
2 OriginalGriff 3,557
3 _Amy 3,372
4 CPallini 3,034


Advertise | Privacy | Mobile
Web01 | 2.6.130619.1 | Last Updated 11 Feb 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid