In my understanding, you can set the RecordSource of any ADO recordset to an SQL statement.
so something lik
Dim Db As Database, Rs As Recordset
Set Db = Workspaces(0).OpenDatabase("Music.mdb")
Set Rs = Db.OpenRecordset("SELECT Record.Rnr, Sname, SLength FROM Record, Song...
There is a property on each form called StartUpPosition. If you set this to 1 - CenterOwner, then your modal form will automatically center itself on the parent form.
Hope This Helps
I have looked all round for a propety but can't find one... is it just me?
All i want is "Mon", "Tues", etc below my bars in a Bar Graph.
Cheers
If you are trying to select a whole row when the user clicks on it, then you can just set one of the properties in the flexgrid. In the properties page there is a property SelectionMode, set it to "1 By Row" and it should select rows automatically. The only problem I have with it is...
Im having a problem with modal forms and the mouse wheel.
When I show a modal form in VB6, then subsequently rotate the mouse wheel
over any other form in my program, I have a very nasty crash. It only
happens when I rotate the wheel, clicking it or the other buttons do not
make it crash...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.