Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: SQL Access DataGrid
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 at 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 at 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 at 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 at 26-Jan-13 0:29am
   
Can you tell me how to get data from a table for a specific date into data grid
Kschuler at 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

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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
0 Sergey Alexandrovich Kryukov 560
1 OriginalGriff 325
2 CPallini 280
3 ChauhanAjay 149
4 BillWoodruff 130
0 OriginalGriff 6,474
1 Sergey Alexandrovich Kryukov 6,190
2 CPallini 5,180
3 George Jonsson 3,574
4 Gihan Liyanage 2,522


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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100