The scenario goes like this, A medical center needs to store appointment details in a text file called appointment.dat. It includes the Patient name ...
The scenario goes like this, A medical center needs to store appointment details in a text file called appointment.dat. It includes the Patient name ...
I'm querying a SQL Server database and filling a datatable. But even when my sql returns no values, the datatable row count seems to be one. Here's my ...
I have a filters private function on a form, to dynamically generate the SQL for the record source on a subform, for searching records. I run this onl ...
I would like to create a function returning the number of records that an SQL expression passed as parameter can generate. Can anyone put me on the ri ...
I would like to run one query + output and in case no records exist run second query + output and in case both have no records then redirected to ...
I'd like to create an If/Then statement in VBA where if there are multiple records in the recordset one message populates, and if there is only record ...
I have a form that I have built a filter search on that runs "after_update". When the filter results in no records the form fails and shows blank. To ...
Using MS Access to complete this project. I am attempting to simplify my ADODB code by removing the need for the ADODB.Command object. There are two ...
This is my code : The MSGBOX Line showing me -1 as a RecordCount, but the same time rstResult.Fields(1).Value showing the first records value. Even ...
I'm slowly moving from ClientDataSet to FireDAC FDQuery components in my projects (Delphi 10 Seattle). One trick I often use with CDS is to check rec ...
In this article, It shows a comparative table how .RecordCount is way faster than any other method use in that article but it did not mention if it ca ...
I have the below code which retrieves data correctly however always return a value of -1 for rs.RecordCount. Please assist. ...
Good afternoon, i require some help. there are dozen of methods that would do the trick that im about to ask but which would be fastest (i hopefull am ...
For some reason the below part of the code isn't working. If rsDoctorData.RecordCount < 800 Then I want it to display a message when there are le ...
Unable to get Last record using MailMerge.DataSource.LastRecord or MailMerge.DataSource.RecordCount the first variable always returns -16 and the seco ...
I am trying to find a way to add a count to the output of my query: The way I tried doing it was: The error is this: Column 'marker.id' is i ...
I need your help and assistant in viewing the number of rows on each printed table at the top of it. I am using the below code to get the rows count: ...
I have this function in a while loop and for some reason it says all records are duplicates. I have tried: But none seem to work this is what i ...
I am using adOpenDynamic and the CursorLocation by default is set to Server (V6) and we the program can works both with acess and SQL Server. Now we a ...
I would like my function to open the table, and return 1/1/2013 for recordcount 1, 1/2/2013 for recordcount 2 ... 1/20/2013 for record count 20. so ...