Skip to content

Instantly share code, notes, and snippets.

View ajcomeau's full-sized avatar

Andrew Comeau ajcomeau

View GitHub Profile
@ajcomeau
ajcomeau / Recover Access Table Records - VBA
Created November 21, 2019 00:42
VBA subroutine to recover records from a table with multiple corrupt records.
Public Sub RecoverRecords()
On Error GoTo errHandler
'Example Code - Generic variable and field names have been used throughout.
Dim rstOld As DAO.Recordset 'Recordset to hold records from corrupt table.
Dim sqlComplete As Boolean
Dim counter As Long
@ajcomeau
ajcomeau / gist:fdd46f8ee87f30944e3524d2d8181c36
Last active April 5, 2018 15:31
Arabic / Roman Numerals Conversion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NumberConversions
{
class NumericConversions
{