I created a VB-program that calls another application via shellexecute.
That app is a backup program, that gets commandline parameters from my VB-program.
ok guess I found the solution. If anyone is interested:
Inside a VB-Addin, this should be the principal way to deal with autogenerated lines. There has to be some more work concerning...
If you get the data of the table via recordsets, check the .locktype property of the recordset. Your description of the problem indicates that you use adlockpessimistic. That should be changed to...
I like your idea with the boolean, though I hoped that there may exist a method (maybe of the form) that could handle that. Now sadly I have to write some code :)
I have several collection classes that contain Data from a database.
I need to add a .sort method for each of them, where I dynamically pass the property to be sorted and the...
Hi out there,
I have a problem around a usercontrol that I've developed.
On a Form I have several instances of the usercontrol. On changing a combo on that control it gets data from a database,...
I've got a problem with the package & deployment wizard in VB, after we upgraded from CR8.5 to CR 11.
The setup that is built just does not work, when CR is called, the application...
In general I recommend to use 3 Classes.
1) Basic class which properties represent the fields of a table
2) collection class for the abovementioned one
3) Class that handles the database connect...
@deepbuti:
AFAIK the round function of Microsoft is just buggy (not only in the context you've described in the link you gave), just don't use it.
It is much better to write your own round...
IMHO your code is not very safe:
- It assumes that you always have a ascending sort by the field of the primary key (-> Auto Number) as a part of the query.
- It is completely...
I disagree with all the previous posters, as from my experience (in my company we tried to convert several Access97 clients to newer versions i.e. 2000) you can forget about making the app...
I have a Report that gets its data from a database, and is filled by passing first a Parameter to a text field in the report that is later used to filter the records that come from...
why don't you just create an unbound recordset (please do *not* try to use recordset.clone!!), fill it from the database, and when clicking on the post- button save it to the table? You then...
that's impressive,
and a solution that I can use in another context for code optimizing for a task that I have currently (Resistor and capacitor values that I get from a database are...
AFAIK you're absolutely correct.
But to be honest, nowadays I just do not consider the need to check the resources having a high priority.
IMHO it is just a matter of concept,...
you have to set the .cursorlocation property of the recordset to aduseclient.
It is quite clear that .recordcount cannot work without this, as the recordset object "assumes" :) that the...